package com.lz.autotest.common.constant;

/**
 * 通用常量信息
 * 
 * @author lz
 */
public class RunTaskConstants
{
    /**
     *
     */
    public static final String IR_CURVE = "<?xml version=\"1.0\" encoding=\"gb2312\"?>\n" +
            "<root TYPE=\"TREE\">\n" +
            "  <Parameter>\n" +
            "    <BaseDate DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"计算日期\">{baseDate}</BaseDate>\n" +
            "    <Tasks>\n" +
            "      <Task T_CODE=\"CALC_TERMSTRUCTURE\">\n" +
            "        <IRCurve>\n" +
            "          <IsSycCache DATATYPE=\"INT\" Caption=\"是否同步到缓存\" TYPE=\"SIMPLE\" CType=\"Enum\" EnumList=\"0=否;1=是\">1</IsSycCache>\n" +
            "          <CalcCurveType DATATYPE=\"INT\" Caption=\"计算代码\" TYPE=\"SIMPLE\" CType=\"Enum\" EnumList=\"0=不计算;1=计算全部;2=计算曲线代码集\">2</CalcCurveType>\n" +
            "          <CurveCodes DATATYPE=\"STRING\" Caption=\"曲线代码集\" TYPE=\"ARRAY\">\n" +
            "            <V>{ircCode}</V>\n" +
            "          </CurveCodes>\n" +
            "        </IRCurve>\n" +
            "      </Task>\n" +
            "    </Tasks>\n" +
            "    <TGCode DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"任务分组代码\">SystemTask</TGCode>\n" +
            "  </Parameter>\n" +
            "</root>";
    public static final String DIV_CURVE = "<?xml version=\"1.0\" encoding=\"GB2312\"?>\n" +
            "<root TYPE=\"TREE\">\n" +
            "  <Parameter>\n" +
            "    <BaseDate DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"计算日期\">{baseDate}</BaseDate>\n" +
            "    <DivYieldCodes DATATYPE=\"STRING\" Caption=\"红利曲线代码集\" TYPE=\"ARRAY\">\n" +
            "      <V>{divCode}</V>\n" +
            "    </DivYieldCodes>\n" +
            "    <DivYieldSQL DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"查找红利曲线SQL脚本\"/>\n" +
            "    <DivYieldSQLDBName DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"执行脚本的数据库名称\"/>\n" +
            "    <Tasks>\n" +
            "      <Task T_CODE=\"CALC_DIVYIELD\">\n" +
            "      </Task>\n" +
            "    </Tasks>\n" +
            "    <IsDBInsert DATATYPE=\"INT\" Caption=\"计算结果插入数据库\" TYPE=\"SIMPLE\" CType=\"Enum\" EnumList=\"0=否;1=是\">1</IsDBInsert>\n" +
            "    <TGCode DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"任务分组代码\">SystemTask</TGCode>\n" +
            "  </Parameter>\n" +
            "</root>";
    public static final String VOL_SURFACE = "<?xml version=\"1.0\" encoding=\"GB2312\"?>\n" +
            "<root TYPE=\"TREE\">\n" +
            "  <Parameter>\n" +
            "    <BaseDate DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"计算日期\">{baseDate}</BaseDate>\n" +
            "    <VolSurfaces TYPE=\"ARRAY\">\n" +
            "      <V>{vlsCode}</V>\n" +
            "    </VolSurfaces>\n" +
            "    <VolSurfaceSQL DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"查找波动率曲面SQL脚本\"/>\n" +
            "    <VolSurfaceSQLDBName DATATYPE=\"STRING\" TYPE=\"SIMPLE\" Caption=\"执行脚本的数据库名称\">MD</VolSurfaceSQLDBName>\n" +
            "    <Tasks>\n" +
            "      <Task T_CODE=\"CALC_VOLSURFACE\">\n" +
            "      </Task>\n" +
            "    </Tasks>\n" +
            "  </Parameter>\n" +
            "</root>";

}
